			
            <div id="title-bar">
                <h2 id="title-page">Sửa kênh: <?php echo $channel->NameChannel_vn?></h2>
            </div>
            
            <div class="clearfix"></div>
            <?php echo form_open_multipart('administrator/channel/modify?channelid='.$channel->ChannelId)?>
            	<div class="row-fluid">
                    <div class="span9">
                        <div class="widget shadow-div border-radius4">
                            <h4>Tên kênh</h4>
                            <div class="editor-field">
                                <input type="text" name="NameChannel_vn" class="input-fixedfull" placeholder="Tiếng việt..." value="<?php echo set_value('NameChannel_vn', $channel->NameChannel_vn) ?>" />
                                <div class="error-validation">
                                	<?php echo form_error('NameChannel_vn')?>
                                    
                                </div>
                            </div>
                            <div class="editor-field">
                                <input type="text" name="NameChannel_en" class="input-fixedfull" placeholder="Tiếng anh..." value="<?php echo set_value('NameChannel_en', $channel->NameChannel_en) ?>" />
                            </div>
                        </div>
                        <div class="widget shadow-div border-radius4">
                            <h4>Mô tả kênh</h4>
                            <div class="editor-field">
                            	Tiếng việt
                                <textarea id="cke_description_vn" name="Description_vn" placeholder="Tiếng việt..."><?php echo set_value('Description_vn', $channel->Description_vn) ?></textarea>
                                <div class="error-validation">
                                	<?php echo form_error('Description_vn')?>
                                    
                                </div>
                            </div>
                            <div class="editor-field">
                            	Tiếng anh
                                <textarea id="cke_description_en" name="Description_en" placeholder="Tiếng anh..."><?php echo set_value('Description_en', $channel->Description_en) ?></textarea>
                            </div>
                        </div>
                    </div>
                    <div class="span3">
                    	<div class="widget shadow-div border-radius4">
                            <h4>Đầu số kênh</h4>
                            <div class="editor-field">
                                <select name="CodesChannel" class="chosen-select-typechannel" data-placeholder="Chọn loại kênh...">
                                	<?php foreach($listcodeschannel as $row){?>
                        
                    					<option value="<?php echo $row ?>" <?php echo set_select('CodesChannel',$row, ($channel->CodesChannel==$row)?true:false)?>><?php echo $row ?></option>
                        			<?php }?>
                        
                                </select>
                            </div>
                        </div>
                        <div class="widget shadow-div border-radius4">
                            <h4>Loại kênh</h4>
                            <div class="editor-field">
                                <select name="typechannel" class="chosen-select-typechannel" data-placeholder="Chọn loại kênh...">
                                	<?php foreach($listtypechannel as $row){?>
                        
                    					<option value="<?php echo $row->TcId ?>" <?php echo set_select('typechannel',$row->TcId, ($channel->TcId==$row->TcId)?true:false)?>><?php echo $row->Name_vn ?></option>
                        			<?php }?>
                        
                                </select>
                            </div>
                        </div>
                        <div class="widget shadow-div border-radius4">
                            <h4>Logo</h4>
                            <div class="editor-field">
                            	<div class="preview-image">
                                	<img src="<?php echo base_url($channel->Logo) ?>" alt="" />
                                </div>
                                <input type="file" name="Logo" class="input_image" />
                                <input type="hidden" name="hidden_image" value="<?php echo $channel->Logo ?>" />
                                <div class="error-validation">
                                	<?php echo $errorupload?>
                                    
                                </div>
                            </div>
                        </div>
                    </div><!-- End .span3 -->
                </div>
                <div class="clearfix"></div>
                <div class="list-controls">
                	<div class="btn-toolbar">
                    	<div class="btn-group">
                        	<button id="btnSave" class="btn btn-small btn-success btn-strong" value="Lưu lại" name="btnSave" type="submit">Lưu lại</button>
                        </div>
                    </div>
                </div>
                <hr/>
            <?php echo form_close()?>
            
            <script type="text/javascript">
				CKEDITOR.replace( 'cke_description_vn', {customConfig: 'config2.js'});
				CKEDITOR.replace( 'cke_description_en', {customConfig: 'config2.js'});				
				$(".chosen-select-typechannel").chosen();
				$("input[type=file]").customFile();				
			</script>
            